Skip to main content

Router Config

Queries information on the router contract and virtual settlement layer.

query Chains {
chains {
router_config {
contract_address
chain_uid
type
explorer_url
logo
}
}
}

Example​

curl --request POST \
    --header 'content-type: application/json' \
    --url 'https://api.euclidprotocol.com/graphql' \
    --data '{"query":"query Router_config {\n  chains {\n    router_config {\n      contract_address\n      chain_uid\n      type\n      explorer_url\n      logo\n    }\n  }\n}","variables":{}}'

Open in Playground

Return Fields​

FieldTypeDescription
ContractAddressStringThe address of the router contract.
ChainUIDStringThe unique identifier (UID) of the chain.
TypeStringThe type of smart contract which is always "router" in this query.
explorer_urlStringThe URL of the blockchain explorer for the VSL.
logoStringThe URL or reference to the logo of the VSL chain.